package Game;

import java.util.Random;

import org.newdawn.slick.AppGameContainer;

/** Game helper class
 * @author Aikidos
 */
public class GameHelper {

	private static AppGameContainer _game;
	private static Random _random;
	
	/** Initialize game helper
	 * @param game - Game instance
	 */
	public static void init(AppGameContainer game) {
		_game = game;
		_random = new Random();
	}
	
	/** Returns game instance
	 * @return Game instance
	 */
	public static AppGameContainer getGame() {
		return _game;
	}
	
	/** Returns random instance
	 * @return Random instance
	 */
	public static Random getRandom() {
		return _random;
	}
	
}
